﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Web.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="Js/jquery-1.12.0.min.js"></script>
    <script>
        function tijiao() {
            $.post("http://localhost:53014/TaxiDriverManage/Ajax_TaxiDriverAdd.aspx",
                {
                    name: "张三",
                    sfzh: "1",
                    cyzgzh:"2",
                    yxqz: "3"
                },
                function (data, status) {
                    if (status == "success") {
                        alert(data);
                    }
                    else {
                        alert(status);
                    }
                })
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <input type="submit" onclick="tijiao()" value="提交" />
    </div>
    </form>
</body>
</html>
